export interface GCViewInfo extends GCBaseInfo {
  agent_files_path: string
}

export interface GCBaseInfo {
  by_config_id: string | undefined
  /** 博弈配置名称 */
  by_config_name: string
  /** 博弈配置描述 */
  by_config_describe: string
  /** 博弈配置配置文件路径 */
  by_config_files_path: string
}

export interface TableRequestData {
  /** 博弈配置名称 */
  by_config_name?: string
  /** 发布时间 */
  publish_time?: string
  /** 截至时间 */
  end_time?: string
}

export interface PageTableRequestData extends TableRequestData {
  /** 当前页码 */
  current_page: number
  /** 查询条数 */
  size?: number
}

export interface TableData {
  create_user: {
    user_id: string
    user_name: string
    user_position: string
  }
  create_time: string
}

export interface GCTableData extends GCBaseInfo, TableData {
  by_config_id: string
}
export type SearchGCTableResponseData = ApiResponseData<{
  total_pages: number
  total_count: number
  page_info: GCTableData[]
}>
export type GCTableResponseData = ApiResponseData<GCTableData[]>
export type GCInfoResponseData = ApiResponseData<GCBaseInfo>
export type GCViewInfoResponseData = ApiResponseData<GCViewInfo>
